<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <th:block data-th-replace="/adminlte/base::base-head"></th:block>
</head>
<body>
<div class="wrapper">
    <th:block data-th-replace="/adminlte/base::base-navbar"></th:block>
    <th:block data-th-replace="/adminlte/base::base-main-sidebar"></th:block>
    <div class="content-wrapper">
        <div class="content-header">
            <div class="container-fluid">
                <div class="row mb-2">
                    <div class="col-sm-6">
                        <h1 class="m-0 text-dark">
                            仪表盘 <small>v 1.0</small>
                        </h1>
                    </div>
                    <div class="col-sm-6">
                        <ol class="breadcrumb float-sm-right">
                            <li class="breadcrumb-item"><a href="#"> 主页</a></li>
                            <li class="breadcrumb-item active">仪表盘</li>
                        </ol>
                    </div>
                </div>
            </div>
        </div>
        <section class="content">
            <div class="container-fluid">
                <div class="row" th:if="${!iconBoxs.isEmpty()}">
                    <div class="col-xl-2 col-lg-3 col-md-4 col-6" th:each="iconBox : ${iconBoxs}">
                        <div class="small-box" th:classappend="${iconBox.classAppend}">
                            <div class="inner">
                                <h3 th:utext="${iconBox.count}"></h3>
                                <p th:utext="${iconBox.name}">文章总数</p>
                            </div>
                            <div class="icon">
                                <i class="ion" th:classappend="${iconBox.icon}"></i>
                            </div>
                            <a href="#" th:href="${iconBox.href}" class="small-box-footer">查看更多 <i class="fas fa-arrow-circle-right"></i></a>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>
    <th:block data-th-replace="/adminlte/base::base-footer"></th:block>
    <th:block data-th-replace="/adminlte/base::base-control-sidebar"></th:block>
</div>
</body>
</html>